export function getToken() {
    return sessionStorage.getItem("token");
}

export function getApiPath() {
    return config.apiPath.endsWith("/") ? config.apiPath : config.apiPath + "/";
}

export function getupLoadPath() {
    let apiPath = getApiPath();

    return apiPath.replace("/api", "")
}